﻿using System;
using System.Collections.Generic;

namespace Kwik.Orm
{
	/// <summary>
	/// Schema signature
	/// </summary>
	public interface ISchema
	{
		/// <summary>
		/// Connection provider name
		/// </summary>
		string ProviderName { get; set; }
		/// <summary>
		/// Connection string
		/// </summary>
		string ConnectionString { get; set; }
		/// <summary>
		/// Tables by name
		/// </summary>
		IDictionary<string, ISchemaTable> Tables {get;}
		/// <summary>
		/// Load the schema from defined source
		/// </summary>
		void Load();
	}
}
